﻿@model PageContent
@{
    ViewBag.Title = Model.Title;
}
<ul class="path floatContainer">
    <li class="first">@ActionLinkLocalized("Main", "Index", "Home")</li>
	@*<li>@ActionLinkLocalized("Forums", "List", "Forums")</li>*@
    @if (ViewBag.ShowLibraryLink)
    {
        <li>@ActionLinkLocalized("Library", "Index", "Library")</li>
    }
</ul>
<h1>@ViewBag.Title</h1>
<div class="pageContent">
	<div class="page-@Model.ShortName">
		@Html.Raw(Model.Body)
	</div>
	@if (Role == UserRole.Admin)
	{
	<div class="toolbar floatContainer">
		<ul>
			<li class="edit">@ActionLinkLocalized("Edit", "Edit", new{name=Model.ShortName})</li>
			<li class="manage">@ActionLinkLocalized("Manage pages", "List")</li>
		</ul>
	</div>
	}
</div>